package cn.tedu.sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors
@NoArgsConstructor
@AllArgsConstructor
public class Item {
    private Integer id;
    private String name;    //商品名称
    private Integer number; //商品数量

    /*public static void main(String[] args) {
        Item a = new Item(5, "a", 3);
        a.setId(2);
        a.setName("aaa");
        System.out.println(a.getName());
    }*/
}
